//package com.bicon.botu.config
//
//import com.bicon.botu.core.base.config.SystemInterceptor
//import org.springframework.context.annotation.Bean
//import org.springframework.context.annotation.Configuration
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer
//
///**
// * 配置拦截器
// * @author tandk
// * @date 2018/7/18 11:45
// */
//@Configuration
//open class MyMvcConfig : WebMvcConfigurationSupport() {
//
//
//    @Bean
//    open fun getMyInterceptor(): SystemInterceptor {
//        return SystemInterceptor()
//    }
//    /**
//     * 配置拦截器
//     */
//    override fun addInterceptors(registry: InterceptorRegistry) {
//        registry!!.addInterceptor(getMyInterceptor()).addPathPatterns("/**")
//    }
//}